package com.itpan.Service;

import com.itpan.Entity.Customer;
import com.itpan.Entity.StatsByT;

import java.util.List;

public interface CustomerService {

    List<Customer> getbymutil(Customer customer);

    void addone(Customer customer);

    List<Customer> getall();

    List<Customer> getallPage(Integer page,Integer pageSize);

    Customer getById(String Id);

    void addAll(List<Customer> list);

    void deleteById(String id);

    void update(Customer customer);

    public List<StatsByT> countSuppliersByProvince();
}
